//
//  BottomBar.h
//  ZhihunewPaper
//
//  Created by 梅杰 on 16/7/18.
//  Copyright © 2016年 梅杰. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface BottomBar : UIView
@property (weak, nonatomic) IBOutlet UIButton *arrowButton;
@property (weak, nonatomic) IBOutlet UIButton *nextButton;
@property (weak, nonatomic) IBOutlet UIButton *voteButton;
@property (weak, nonatomic) IBOutlet UIButton *shareButton;
@property (weak, nonatomic) IBOutlet UIButton *commentButton;

@property (nonatomic,copy) void (^arrowBlock) (UIButton *sender);
@property (nonatomic,copy) void (^nextBlock) (UIButton *sender);
@property (nonatomic,copy) void (^voteBlock) (UIButton *sender);
@property (nonatomic,copy) void (^shareBlock) (UIButton *sender);
@property (nonatomic,copy) void (^commentBlock) (UIButton *sender);

-(void)setWeightMethodForArrow:(void(^)(UIButton *sender))arrowBlock nextBlock : (void(^)(UIButton *sender))nextBlock voteBlock : (void(^)(UIButton *sender)) voteBlock shareBlock :(void (^)(UIButton *sender)) shareBlock commentBlock : (void (^)(UIButton *sender)) commentBlock;
@end
